<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="../../include/admincontent.jsp" %>
<div id="Content">
    <form id="modelform" method="post" action="/member/ChangeTelAction">
        <input type='hidden' name='id' value='${user.id}' datatype="*" nullmsg="非法访问"/>
        <table class="treeTable searchform">
            <thead>
            <tr>
                <td>姓名：</td>
                <td>${user.uname}</td>
            </tr>
            <tr>
                <td>身份证：</td>
                <td>${user.ucode}</td>
            </tr>
            <tr>
                <td width="100">原手机号：</td>
                <td>
                    ${user.tel}
                </td>
            </tr>
            <tr>
                <td width="100">新手机号：</td>
                <td>
                    <div><input type="text"  name="newtel" datatype="*" nullmsg="新手机号不能为空！" />
                    </div>
                </td>
            </tr>
            <tr>
                <td width="100">验证码：</td>
                <td>
                    <div>
                        <input type="text" style="width:150px;" class="valiCode" name="vcode" datatype="*" nullmsg="验证码不能为空！" /><img  style="width:100px;height:30px;" src="${path}/resources/captcha.jpeg" title="点击刷新" onClick="refushCode(this)"  />
                    </div>
                </td>
            </tr>
            <tr>
                <td></td>
                <td style="text-align: right; padding-right: 15px">
                    <button type="submit" class="save blue-btn">提 交</button>
                </td>
            </tr>
            </thead>
        </table>
    </form>
</div>
<script>
    function refushCode(c) {
        $(c).attr('src', '${path}/resources/captcha.jpeg?time=' + (new Date()).getTime());
    }
</script>
</body>
</html>